﻿using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System.Reactive;

namespace WpfApp1
{
    public class MainViewModel : ReactiveObject
    {
        [Reactive]
        public string SelectedDisk { get; set; } = "bbbb";

        public ReactiveCommand<Unit, Unit> TestCommand { get; set; }
        public MainViewModel()
        {
            TestCommand = ReactiveCommand.Create(Submit);
        }


        private void Submit()
        {
            SelectedDisk = "hahhaah";
        }
    }
}
